package com.xyz.graph.common;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 通用Restful返回对象
 *
 * @author luoxi5
 * @version 1.0 2018-07-23
 */
public class CommonResponse {
    private int code;
    private String message;
    private Object data;
    @JsonIgnore
    private Object[] params;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object[] getParams() {
        return params;
    }

    public void setParams(Object[] params) {
        this.params = params;
    }

}
